package com.pwt.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import com.pwt.entity.base.BaseEntity;
import javax.persistence.*;
import lombok.EqualsAndHashCode;
import lombok.Data;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;


/**
 * 能力-产品线
 *
 * @author auto generated
 * @date 2021-10-08 11:03:30
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Entity
@Table(name = "[ability_line]")
@Schema(name = "能力-产品线")
@DynamicInsert
@DynamicUpdate
public class AbilityLine extends BaseEntity {

	/**
	 * 名称
	 * nullable : true
	 * default  : null
	 */
	@Schema(name = "name",description = "名称")
	@Column(name = "name", nullable = true, length = 255)
	private String name;

	@Schema(name = "ids",description = "工序机器id")
	@Transient
	private String[] ids;

}
